package com.crop.pojo;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/11/29  17:09
 */
public class Crop {
    private int cropId;
    private String cropName;
    private double price;
    private int ripeningTime;
    private String cropLocation;
    private int state;

    public int getCropId() {
        return cropId;
    }

    public void setCropId(int cropId) {
        this.cropId = cropId;
    }

    public String getCropName() {
        return cropName;
    }

    public void setCropName(String cropName) {
        this.cropName = cropName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getRipeningTime() {
        return ripeningTime;
    }

    public void setRipeningTime(int ripeningTime) {
        this.ripeningTime = ripeningTime;
    }

    public String getCropLocation() {
        return cropLocation;
    }

    public void setCropLocation(String cropLocation) {
        this.cropLocation = cropLocation;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Crop{" +
                "cropId=" + cropId +
                ", cropName='" + cropName + '\'' +
                ", price=" + price +
                ", ripeningTime=" + ripeningTime +
                ", cropLocation='" + cropLocation + '\'' +
                ", state=" + state +
                '}';
    }
}
